@extends('admin.base.widgets')

@section('content')
	<div class='block-area'>
		<h3 class="block-title">&nbsp;&nbsp;&nbsp;添加子类</h3>
		@if (count($errors) > 0)
		    <div class="alert alert-danger">
		        <ul>
		            @foreach ($errors->all() as $error)
		                <li>&nbsp;&nbsp;&nbsp;{{ $error }}</li>
		            @endforeach
		        </ul>
		    </div>
		@endif
		<form action='{{ url("typeSon") }}' method='post'>
			{{ csrf_field() }}
			<div class='row'>
				<div class="col-lg-4">
					&nbsp;&nbsp;&nbsp;<input class="form-control m-b-10" type="text" value="{{ $list->SortName }}">
				</div>
				<br />
				<div class="col-lg-4">
					&nbsp;&nbsp;&nbsp;<input class="form-control m-b-10" type="text" name='SortName'>
				</div>
				<div class="col-lg-4">
					<input name='SortPid' class="form-control m-b-10" placeholder=".col-lg-2" type="hidden" value="{{ $list->SortId }}">
				</div>
				<br />
				<div class='row'>
					<div class='col-sm-12'>
						&nbsp;&nbsp;&nbsp;<input type='submit' class='btn' value='添加'>
					</div>
				</div>
			</div>
		</form>
	</div>
@endsection